<template>
    <div>
        <My1/>
        首页内容
        <My2 :num="n"/>
    </div>
</template>

<script>
    import My1 from "../components/My1.vue"
    import My2 from "../components/My2.vue"
    export default {
        name: "home",
        comments:{
            My1,My2
        },
        data(){
            return{
                n:150
            }
        }
    }
</script>

<style scoped>

</style>